@charset "UTF-8";
/* CSS Document */

.gall_video,
#video_link1{
  cursor: pointer;
  background-color: #000000;
}

#video_wrapper{
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right:0;
  background-color: #f2f3f4;
  background-color: rgba(0,0,0,0.8); 
  z-index: 999999999999;
}
.video_wrapper{
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right:0;
  background-color: #f2f3f4;
  background-color: rgba(0,0,0,0.8); 
  z-index: 9999999;
}
#video_box, .video_box{
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #f2f3f4;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    width: 1000px;
    height: 563px;
    margin-top: -280.5px;
    margin-left: -500px;
}
#close, .close{
  position: absolute;
  top: 0px;
  right: -50px;
  z-index: 99999999;
  height:100px;
  width:100px;
  color:red;
  text-align:right;
  font-size:30px;
  cursor:pointer;
}

.embed-container { 
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden; 
  max-width: 100%; 
  height: auto; 
  margin-top: 20px;
} 
.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
}



@media all and (max-width: 1280px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1280px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1280px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1280px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1280px), only screen and (min-resolution: 192dpi) and (max-width: 1280px), only screen and (min-resolution: 2dppx) and (max-width: 1280px) {

}

@media all and (max-width: 1180px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1180px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1180px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1180px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1180px), only screen and (min-resolution: 192dpi) and (max-width: 1180px), only screen and (min-resolution: 2dppx) and (max-width: 1180px) {
	#video_box, .video_box {width: 900px;height: 507px;margin-top: -253.5px;margin-left: -450px;}
}
/*TOUCH PANEL*/
@media all and (max-width: 1080px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1080px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1080px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1080px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1080px), only screen and (min-resolution: 192dpi) and (max-width: 1080px), only screen and (min-resolution: 2dppx) and (max-width: 1080px) {

}
/*END TOUCH PANEL*/
@media all and (max-width: 1024px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
	.embed-container{margin-top: 0px;}
 	#video_box, .video_box {width: 800px;height: 450px;margin-top: -225px;margin-left: -400px;}
}

@media all and (max-width: 960px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 960px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 960px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 960px), only screen and (min-device-pixel-ratio: 2) and (max-width: 960px), only screen and (min-resolution: 192dpi) and (max-width: 960px), only screen and (min-resolution: 2dppx) and (max-width: 960px) {
	#video_box, .video_box { width: 600px;height: 338px; margin-top: -169px;margin-left: -300px;}
}

@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 768px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 768px), only screen and (min-device-pixel-ratio: 2) and (max-width: 768px), only screen and (min-resolution: 192dpi) and (max-width: 768px), only screen and (min-resolution: 2dppx) and (max-width: 768px) {
	#video_box, .video_box {width: 500px;height: 282px;margin-top: -141px; margin-left: -250px;}
}

@media all and (max-width: 767px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 767px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 767px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 767px), only screen and (min-device-pixel-ratio: 2) and (max-width: 767px), only screen and (min-resolution: 192dpi) and (max-width: 767px), only screen and (min-resolution: 2dppx) and (max-width: 767px) {

}

@media all and (max-width: 640px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 640px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 640px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 640px), only screen and (min-device-pixel-ratio: 2) and (max-width: 640px), only screen and (min-resolution: 192dpi) and (max-width: 640px), only screen and (min-resolution: 2dppx) and (max-width: 640px) {
    #video_box, .video_box {width: 380px;height: 214px;margin-top: -107px;margin-left: -190px;}
}

@media all and (max-width: 480px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 480px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 480px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 480px), only screen and (min-device-pixel-ratio: 2) and (max-width: 480px), only screen and (min-resolution: 192dpi) and (max-width: 480px), only screen and (min-resolution: 2dppx) and (max-width: 480px) {
    #close, .close {position: absolute;top: -40px;right: 0px;}
    #video_box, .video_box {width: 320px;height: 180px;margin-top: -90px; margin-left: -160px;}
}

@media all and (max-width: 320px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 320px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 320px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 320px), only screen and (min-device-pixel-ratio: 2) and (max-width: 320px), only screen and (min-resolution: 192dpi) and (max-width: 320px), only screen and (min-resolution: 2dppx) and (max-width: 320px) {
 
}
